﻿@using NetCore.Model;
@{

    ViewData["Title"] = "页面按钮设置";
    Layout = null;

}
@model PageActionEntity
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    <h4 class="modal-title">页面按钮设置</h4>
</div>
<div class="modal-body">
    <form id="dynamic-form" asp-action="Edit" method="post" class="form-horizontal" >
        <div asp-validation-summary="@ValidationSummary.All" class="text-danger"></div>
        <input type="hidden" asp-for="PageActionId" />
        <div class="form-group">
            <label asp-for="ActionName" class="col-md-3 control-label text-right">ActionName</label>
            <div class="col-md-9  text-left">
                <div class="input-group m-b">
                    <span class="input-group-addon">*</span>
                    <input asp-for="ActionName" class="form-control" validate="{required:true  ,maxlength:50   }" />
                </div>
                <span asp-validation-for="ActionName" class="text-danger"></span>
            </div>
        </div>
        <div class="form-group">
            <label asp-for="LocalName" class="col-md-3 control-label text-right"> 按钮名称</label>
            <div class="col-md-9  text-left">
                <div class="input-group m-b">
                    <span class="input-group-addon">*</span>
                    <input asp-for="LocalName" class="form-control" validate="{required:true  ,maxlength:50   }" />
                </div>
                <span asp-validation-for="LocalName" class="text-danger"></span>
            </div>

        </div>
        <div class="form-group">
            <label asp-for="Remark" class="col-md-3 control-label text-right"> 备注</label>
            <div class="col-md-9  text-left">
                <div class="input-group m-b">
                    <span class="input-group-addon"></span>
                    <textarea asp-for="Remark" class="form-control" validate="{required:false  ,maxlength:100   }" ></textarea>
                </div>
               
            </div>

        </div>
    </form>
</div>
<div class="modal-footer">

</div>
